package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class corecmsnumberdetail {
    // 编码类型(对应
    @Id
    private int numberType;

    // 最后一个编码
    private int lastNumber;

    // 编码名称
    private String numberName;

    // 更新日期
    private Date numberDate;

    // 班次Id
    private long classId;

    @Generated(hash = 783168074)
    public corecmsnumberdetail(int numberType, int lastNumber, String numberName,
            Date numberDate, long classId) {
        this.numberType = numberType;
        this.lastNumber = lastNumber;
        this.numberName = numberName;
        this.numberDate = numberDate;
        this.classId = classId;
    }

    @Generated(hash = 912812152)
    public corecmsnumberdetail() {
    }

    public int getNumberType() {
        return this.numberType;
    }

    public void setNumberType(int numberType) {
        this.numberType = numberType;
    }

    public int getLastNumber() {
        return this.lastNumber;
    }

    public void setLastNumber(int lastNumber) {
        this.lastNumber = lastNumber;
    }

    public String getNumberName() {
        return this.numberName;
    }

    public void setNumberName(String numberName) {
        this.numberName = numberName;
    }

    public Date getNumberDate() {
        return this.numberDate;
    }

    public void setNumberDate(Date numberDate) {
        this.numberDate = numberDate;
    }

    public long getClassId() {
        return this.classId;
    }

    public void setClassId(long classId) {
        this.classId = classId;
    }
}
